//-----------------------------------------------------------------------
// <copyright file="Country.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class UnitSetting
	{
		
		#region Variable Declarations
	
		private int unitSettingID;
		private string				unitCode = string.Empty;
		private string				description = string.Empty;
		private decimal				cbmValue = 0;
		private bool isContainer;
		private bool isSystem;
		private int conPointID;
		
		#endregion
		
		#region Constructors
		public UnitSetting() {}
		
		public UnitSetting (
			int unitSettingID,
			string unitCode,
			decimal cbmValue,
			string description,
			bool isContainer,
			bool isSystem,
			int conPointID
			)
		
		{
			this.unitSettingID = unitSettingID;
			this.unitCode = unitCode;
			this.description = description;
			this.cbmValue = cbmValue;
			this.isContainer = isContainer;
			this.isSystem = isSystem;
			this.conPointID = conPointID;
		}
		#endregion
		
		#region Properties	
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is integer</value>
		public int UnitSettingID
		{
			get { return unitSettingID; }
			set { unitSettingID = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string UnitCode
		{
			get { return unitCode; }
			set { unitCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal CbmValue
		{
			get { return cbmValue; }
			set { cbmValue = value; }
		}


		public bool IsContainer
		{
			get { return isContainer; }
			set { isContainer = value; }
		}


		public bool IsSystem
		{
			get { return isSystem; }
			set { isSystem = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is integer</value>
		public int ConPointID
		{
			get { return conPointID; }
			set { conPointID = value; }
		}
		
		private bool isInUse;
		public bool IsInUse
		{
			get { return isInUse; }
			set { isInUse = value; }
		}
		
		#endregion
	}//End Class
	
	public enum UnitSettingColumns
	{
		UnitSettingID,
		UnitCode,
		CbmValue,
		Description,
		IsContainer,
		IsSystem,
		ConPointID,
		IsInUse
	}//End enum
}